//
//  MCSettingFooterView.m
//  TLYL
//
//  Created by MC on 2017/6/12.
//  Copyright © 2017年 TLYL01. All rights reserved.
//

#import "MCSettingFooterView.h"
@interface MCSettingFooterView ()
@property (nonatomic,strong)UIButton * btn_logOut;
@end
@implementation MCSettingFooterView
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createUI];
    }
    return self;
}

-(void)createUI{
    _btn_logOut=[[UIButton alloc]init];
    _btn_logOut.backgroundColor=[UIColor cyanColor];
    [_btn_logOut setTitle:@"退出登录" forState:UIControlStateNormal];
    [self addSubview:_btn_logOut];
    [_btn_logOut mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.mas_bottom).offset(0);
        make.left.equalTo(self.mas_left).offset(50);
        make.right.equalTo(self.mas_right).offset(-50);
        make.height.mas_equalTo(40);
    }];
    
    
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
